package Text;

import java.util.List;

import com.project.daoImpl.ProjectDaoImpl;
import com.project.entity.ProjectInfo;
import com.project.service.ProjectInfoService;
import com.project.service.Impl.ProjectInfoServiceImpl;

public class TextShan {
	public static void main(String[] args) {
		ProjectInfoService impl = new ProjectInfoServiceImpl();
		ProjectInfo e = new ProjectInfo();
		e.setId(4);
		impl.shan(e);
		//查询全部
		List<ProjectInfo> pros = impl.query();
		for(ProjectInfo pro:pros) {
			System.out.println(pro);
		}
	
	}

}
